﻿using System.Runtime.Serialization;
using ET.Score.Service.Enums;

namespace ET.Score.Service.Dtos
{
    /// <summary>
    /// 用作微信绑定的传类型
    /// </summary>
    [DataContract]
    public class WxUserBindingDto
    {
        /// <summary>
        /// 要绑定的微信openid
        /// </summary>
        [DataMember]
        public string Openid { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        [DataMember]
        public string Username { get; set; }

        /// <summary>
        /// 登录密码
        /// </summary>
        [DataMember]
        public string Password { get; set; }

        /// <summary>
        /// 用于绑定的用户操作类型（1：司机，2：调度，3：站务,4：教员）
        /// </summary>
        [DataMember]
        public LoginType OperId { get; set; }
    }
}